package install.ren.exercise.test.zookeeper;

import org.I0Itec.zkclient.ZkClient;

/**
 * @author jonny
 * Created on 2022/5/3
 */
public class ZkClientHandle {
    public boolean exists(String path,String servers,Integer connectionTimeoutMs){
        ZkClient zkClient = new ZkClient(servers,connectionTimeoutMs);
        final boolean exists = zkClient.exists(path);
        return exists;
    }
}
